<!-- 顶部广告 -->
<div id="login">
    <div class="login_img">
        @php
            $top_num = count($top_ad);
        @endphp

        @foreach($top_ad as $item)
            <a target="_blank" title="{{$item->ad_name}}" href="{{$item->ad_link}}">
                <img src="{{$item->resource_link}}" alt="" height="80px;"/>
            </a>
        @endforeach

        @for($i=0; $i<(1-$top_num); $i++)
            <a  href="http://www.hjd123.com" target="_blank" title="好聚点">
                <img src="{{asset(config('mall.pc_assets').'/images/58df6864N4b748a08.jpg')}}" alt="" />
            </a>
        @endfor

        <img src="{{asset(config('mall.pc_assets').'/images/close.png')}}" alt="" class="close" />
    </div>
</div>
<!-- 顶部广告结束 -->